import express from "express";
import user from "../services/user/index.js";

const router = express.Router();

router.post("/logup", user.P("logup"));

router.post("/login", user.P("login"));

router.post("/update", user.P("update"));

router.get("/captcha", user.P("captcha"));

router.get("/loginCheck", user.P("loginCheck"));

router.get("/logout", user.P("logout"));

router.post("/list", user.P("list"));

router.get("/delete", user.P("delete"));

router.get("/findById", user.P("findById"));

export default router;
